package com.BlogPark.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.Date;

/**
 * @Auther: MFM
 * @Date: 2022/8/10 - 08 - 10 - 18:04
 * @version: 1.0
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {

    /**
     * 用户基本信息
     *
     * @param id       用户id
     * @param username 用户名
     * @param password 密码
     * @param email     邮箱
     * @param validatacode   随机验证码
     * @param outdate     pwd校验过期时间
     * @param checkuser     判断是否激活
     * @param status     登录状态
     */

    private int id;
    private String username;
    private String password;
    private String email;
    private String validatacode;
    private Date outdate;
    private Integer checkuser;
    private Integer status;

    public String getValidatacode() {
        return validatacode;
    }

    public void setValidatacode(String validatacode) {
        this.validatacode = validatacode;
    }

    public Date getOutdate() {
        return outdate;
    }

    public void setOutdate(Date outdate) {
        this.outdate = outdate;
    }

    public Integer getCheckuser() {
        return checkuser;
    }

    public void setCheckuser(Integer checkuser) {
        this.checkuser = checkuser;
    }

    public User(String username, String password) {
    }

}
